package com.atmilan.quartz.model.entity.crmeb;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品翻译前源数据
 * @author daigb
 * @date:  2023-01-30 10:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_sync_product_logs")
@ApiModel(value="SyncProductLogs对象", description="同步日志表")
public class SyncProductLogs implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品编码")
    private String goodsNo;

    @ApiModelProperty(value = "商品名")
    private String goodsName;

    @ApiModelProperty(value = "sku名称")
    private String skuName;

    @ApiModelProperty(value = "sku条码")
    private String skuBarcode;

    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "同步供应商")
    private String syncType;

    @ApiModelProperty(value = "是否成功")
    private Integer isSuccess;

    @ApiModelProperty(value = "分类名称")
    private String cateName;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;


}
